package cc.mrbird.febs.moive.service.impl;


import cc.mrbird.febs.moive.dao.MaxDataOneMapper;
import cc.mrbird.febs.moive.domain.DataTop;
import cc.mrbird.febs.moive.domain.MaxDataOne;
import cc.mrbird.febs.moive.service.MaxDataOneService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service("maxDataOneService")
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class MaxDataOneServiceImpl extends ServiceImpl<MaxDataOneMapper, MaxDataOne> implements MaxDataOneService {
    @Override
    public List<MaxDataOne> getData() {
        return baseMapper.getData();
    }

    @Override
    public List<MaxDataOne> getAll() {
        return baseMapper.getAll();
    }
}
